package com.chenjl;

import java.math.BigDecimal;
/**
 * 测试Model
 * 2016-9-2 11:40:58
 * @author chenjinlong
 */
public class TModel implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
	private int id = -1;
	private long length = -1;
	private String title = "default";
	private byte[] bytes;
	private BigDecimal amt;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

	public long getLength() {
		return length;
	}
	public void setLength(long length) {
		this.length = length;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	public byte[] getBytes() {
		return bytes;
	}
	public void setBytes(byte[] bytes) {
		this.bytes = bytes;
	}
	public BigDecimal getAmt() {
		return amt;
	}
	public void setAmt(BigDecimal amt) {
		this.amt = amt;
	}
	
	@Override
	public String toString() {
		return "[ id : "+id+" , length : "+length+" , title : "+title+"] , class : "+this.getClass();
	}
}